package org.jeecg.modules.monitoring.j_monitoring.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 设备终端
 * @Author: xiaoyq
 * @Date:   2023-02-22
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="设备终端", description="设备终端")
public class MacEndPoint implements Serializable {
    private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "id")
	private String id;

	/**ip*/
    @ApiModelProperty(value = "ip")
    private String ip;

	/**mac地址*/
	@ApiModelProperty(value = "mac地址")
	private String mac;

	/**设备组*/
    @ApiModelProperty(value = "设备组")
    private String groupName;
	/**操作系统*/
	@Excel(name = "操作系统", width = 15)
    @ApiModelProperty(value = "操作系统")
    private String osName;

	/**终端类型*/
	@Dict(dicCode = "j_mac_sblx")
    @ApiModelProperty(value = "终端类型")
    private String deviceType;

	@ApiModelProperty(value = "主机")
	private String hostName;

	@ApiModelProperty(value = "登录账号")
	private String loginAccount;

//	@ApiModelProperty(value = "分配组")
//	private Integer assignGroup;

	@ApiModelProperty(value = "policyName")
	private String policyName;


	@ApiModelProperty(value = "ipAddress")
	private String ipAddress;

	@ApiModelProperty(value = "description")
	private String description;

	@ApiModelProperty(value = "isRegisterOnMdm")
	private String isRegisterOnMdm;

	@ApiModelProperty(value = "dhcpServerIp")
	private String dhcpServerIp;

	@ApiModelProperty(value = "updateTime")
	private String updateTime;

	@ApiModelProperty(value = "deviceName")
	private String deviceName;

	@ApiModelProperty(value = "loginDepartment")
	private String loginDepartment;

	@ApiModelProperty(value = "node")
	private String node;

	@ApiModelProperty(value = "dhcpServerInterfaceType")
	private String dhcpServerInterfaceType;

	@ApiModelProperty(value = "vendor")
	private String vendor;

	@ApiModelProperty(value = "port")
	private String port;

//	@Dict(dicCode = "j_mac_sblx")
	@ApiModelProperty(value = "是否注册")
	private Integer isRegister;

//	{"deviceType":null,
//			"hostName":"wangzhen-D","loginAccount":"70-B5-E8-35-7B-B6","assignGroup":0,"" +
//			"policyName":"","ip":"","ipAddress":"","isRegisterOnMdm":null,"description":"",
//			"dhcpServerIp":null,"updateTime":"2020-09-15T09:10:31",
//			"osName":"","deviceName":null,"mac":"70-B5-E8-35-7B-B6",
//			"loginDepartment":"","groupName":"人力资源部","dhcpServerInterfaceType":"0"
//			,"assignPolicy":0,"port":"","vendor":"","nmapScanTime":null,"dhcpServerInterfaceName":null,"id":"1811683156190044","isRegister":0}
}
